package com.moonlit.myspring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by foreknow on 2021/1/17.
 */
public class FirstBean {
    public static void main(String[] args) throws Exception {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring-idol.xml");
        ProjectJuggler per = (ProjectJuggler) context.getBean("poeticDuke");
        per.perform();

    }
}
